Fractal characterization and optimization of electroless Ni–P coatings