Controlling layered Ruddlesden-Popper perovskites via solvent additives.