Direct observation of Cu spin moments by the nuclear heat capacity in La2−xMxCuO4 (M=Sr and Ba)