Sonication-assisted drug encapsulation in layer-by-layer self-assembled gelatin-poly (styrenesulfonate) polyelectrolyte nanocapsules: process optimization