Capillary forces between surfaces with nanoscale roughness