Preparation, characterization and application of an electrode modified with electropolymerized CuPtBr6 film