Structure and stability of germanium nanoparticles