Mantle melting and crustal recycling in subduction zones