On the overlap prescription for lattice regularization of chiral fermions