Additive manufacturing of energy materials and devices for visible light harvesting