Identification of phosphorus in diamond thin films using electron paramagnetic-resonance spectroscopy