Local structure of CPO-27-Ni metallorganic framework upon dehydration and coordination of NO