DEMNUni: the clustering of large-scale structures in the presence of massive neutrinos