Morphology, band structure, and optical properties of artificial opals