Field Commutation Relations in Optical Cavities.