Critical heat flux in liquid helium II in the neighborhood of the λ-transition