The Physics of Magnetic Recording