The Statistical Relationship between White-light Emission and Photospheric Magnetic Field Changes in Flares