Patterned colloid assembly by grafted photochromic polymer layers.