Generalized thermoelastic functionally graded solid with a periodically varying heat source