Experimental demonstration of light-assisted, templated self assembly using photonic-crystal slabs