Acceleration and cooling effects in laminar boundary layers - Subsonic, transonic, and supersonic speeds