Communities came together to commemorate the 75th anniversary of two mining disasters that shook County Durham.