Toward controllable self-assembly of microstructures: Selective functionalization and fabrication of patterned spheres