Magmatic Diversity of western Mexico as a function of metamorphic transformations in the subducted oceanic plates