Effect of liquid layering at the liquid–solid interface on thermal transport