Light-Curve and Radial Velocity Study of the Contact Binary BD +42 2782