Green chemistry synthesis of nanostructured poly(2,5-dimethoxyaniline)