Investigation of laser generated plasmas expanding in vacuum and in a background gas by means of Time-Of-Flight measurements