An analytical and experimental study of heat and momentum transfer in turbulent separated flow past a rectangular cavity