P3Nav: A Unified Framework for Embodied Navigation Integrating Perception, Planning, and Prediction