Charges in general relativity and black hole thermodynamics