Electrodeposition mechanism of chromium nanoparticle coatings: modeling and experimental validation