Chemistry and origin of trapped melts in ophiolitic peridotites