Analysis of infrared heating rates in observed cloud layers