Temperature Dependence of the Transverse and Longitudinal Optic Mode Frequencies and Charges in SrTiO 3 and BaTiO 3