Electrodeposition of nickel–BN composite coatings