Nondestructive purification process for inorganic perovskite quantum dot solar cells