Controls of the composition of nitrogen-rich fluids originating from reaction with graphite and ammonium-bearing biotite