Share of home purchases by investors increased in 2021