Poly(o-methoxyaniline)–palladium systems: effect of preparation conditions on physico-chemical properties