Permanence and stability of a stage structured predator-prey model