Atomic-level simulation of ferroelectricity in perovskite solid solutions