Solution phase synthesis of lead-free perovskite and perovskite-inspired materials