Semiclassical model for the distribution of final polar angles and m′ states in rotationally inelastic collisions