EmoStage: A Framework for Accurate Empathetic Response Generation via Perspective-Taking and Phase Recognition