Heat sources and melting in subduction zones