A multiwavelength observation and investigation of six infrared dark clouds