Isotopic dependence of the heat capacity of c-C, Si, and Ge: an ab initio calculation