Protein nanocapsules for the delivery of active biomacromolecules