Distributed quantum phase estimation with entangled photons