Combining Photonic Crystal and Optical Monte Carlo Simulations: Implementation, Validation and Application in a Positron Emission Tomography Detector