The PHENIX ring imaging Cherenkov detector