Gas-grain chemical models of star-forming molecular clouds as constrained by ISO and SWAS observations