Vesicle-templated layer-by-layer assembly for the production of nanocapsules