Perry endorses Romney for president