Optical effects resulting from deep implants of silicon with nitrogen and phosphorus