Red giant branch in near-infrared colour-magnitude diagrams - II. The luminosity of the bump and the tip