Dynamic analysis of a Leslie–Gower-type predator–prey system with the fear effect and ratio-dependent Holling III functional response