Nonlinear analysis of nanotube-reinforced composite beams resting on elastic foundations in thermal environments