Cation-size control of structural phase transitions in tin perovskites