The interaction of formic acid with transition metal surfaces, studied in ultrahigh vacuum