Fabrication and characterization of inverse opals with tunable stopbands