Structure analysis of materials at the order-disorder borderline using three-dimensional electron diffraction