The Photometric Amplitude and Mass Ratio Distributions of Contact Binary Stars