Disk Accretion to Rotating Magnetized Stars: Magnetohydrodynamic Simulations