Gravar e-mail: Universal quantum gates for photon-atom hybrid systems assisted by bad cavities