Ab-initio energy calculation and X-ray diffraction in the study of the disordered N(CH3)4ClO4 structure