Formation and electroanalytical performance of polyaniline–palladium nanocomposites obtained via Layer-by-Layer adsorption and electroless metal deposition