Herschel studies of infrared dark clouds and cores in the Hi-GAL Survey