Block copolymers as photonic bandgap materials