Determination of crystal structure of polyaniline and substituted polyanilines through powder X-ray diffraction analysis