Phase diagram of mixed ferroelectrics