A plate tectonic model for the origin of porphyry copper deposits