Understanding the growth mechanisms of metal-based core-shell nanostructures revealed by in situ liquid cell transmission electron microscopy