On the characteristic polynomials of the Frobenius endomorphism for projective curves over finite fields