Synthesis and superconducting properties of niobium nitride nanowires and nanoribbons