Thermal pre- and post-snap-through buckling of a geometrically imperfect doubly-clamped microbeam made of temperature-dependent functionally graded materials