Heating of coronal loops by fast mode MHD waves