The Physics of Cataclysmic Variables and Related Objects