Amplification of Slow Magnetosonic Waves by Shear Flow: Heating and Friction Mechanisms of Accretion Disks