MTGS: A Novel Framework for Multi-Person Temporal Gaze Following and Social Gaze Prediction