Distance dependence of force and dissipation in non-contact atomic force microscopy on Cu(100) and Al(111)