Smart materials for renewable energy.