Electronic structure and optical properties of doped gallium phosphide: A first-principles simulation