Metastability and hysteretic vortex pinning near the order-disorder transition in NbSe 2 : Interplay between plastic and elastic energy barriers