Design and functionality of colloidal-crystal-templated materials--chemical applications of inverse opals.