Shock Waves and Energy Dissipation in Magnetohydrodynamic Turbulence