An experimentally based model for the origin of tonalitic and trondhjemitic melts