On the light curves of W Ursae Majoris stars.