Sol-Gel Chemistry of Inverse Opals