Periapsis and gravitomagnetic precessions of stellar orbits in Kerr and Kerr–de Sitter black hole spacetimes