Chromospheric Heating by Magnetohydrodynamic Waves and Instabilities