Classical limit of the quantum Zeno effect