Radiation Hydrodynamics of SN 1987A. I. Global Analysis of the Light Curve for the First 4 Months