Compositional dependence of the Curie temperature in mixed ferroelectrics: effective field approach