Magnetic configurations and switching processes in cobalt ferromagnetic hollow nanospheres