Developing Foundation Models for Head Pose Estimation