Perovskite ferroelectric tuned by thermal strain