Dynamics of a stage-structured predator-prey system with fear-induced group defense in autonomous and nonautonomous settings.