Investigation of the optical and electrical properties of dilute nitride compound semiconductors based on GaP