Rectifying NdNiO3∕Nb:SrTiO3 junctions as a probe of the surface electronic structure of NdNiO3