The Physics of Optical Recording