Anomalous temperature dependence of the effective mass in PbTe and PbSe