Photodirected assembly of polyelectrolyte complexes