Mesoscopic modeling of structural and thermodynamic properties of fluids confined by rough surfaces.