Spin-glass-like freezing of inner and outer surface layers in hollow {\gamma}Fe$_2$O$_3$ nanoparticles