Enhanced biomacromolecule encapsulation by swelling and shrinking procedures.