Electrosynthesis of nanocomposite polymer coatings based on 1-vinyl-1,2,4-triazole–crotonaldehyde copolymers