Phase Evolution During Perovskite Formation—Insight from Pair Distribution Function Analysis