Rational design of protamine nanocapsules as antigen delivery carriers