Chemically Modified Nanopores in Colloidal Crystals