The reachability problem for thermoelastic plates