Frequency shifts and geometrical changes in condensed phases—I: Theory for spherically symmetric pentatomic tetrahedral molecules