Dynamical tunneling in optical cavities