Oxygen and nitrogen isotopes as tracers of fluid activities in serpentinites and metasediments during subduction