Vacancies in functional materials for clean energy storage and harvesting: the perfect imperfection.