Paramagnetic States in Organic and Perovskite Solar Cells