Structural modifications induced by ion implantation in Nb–N thin-film superconductors