Exploiting the Quantum Zeno effect to beat photon loss in linear optical quantum information processors