Photoevaporation of Molecular Clouds in Regions of Massive Star Formation as Revealed through H2 and Brγ Emission