Influence of surface roughness on water- and oil-repellent surfaces coated with nanoparticles