All-optical switching using color centers in an irradiated phosphorus-doped fiber