Modelling ion migration and charge carrier transport in planar perovskite solar cells