Electrochemical and XPS studies on the generation of silver clusters in polyaniline films