add I/O for OpenDX file: readdx.m and writedx.m