X-ray and neutron studies of a displacive phase transition in N,N-dimethylnitramine (DMN)