Energy consumption of producing solar cells