Oxygen, from enemy to new ally of solar cells