Comparison of physics-based and machine learning methods for phase-resolved prediction of waves measured in the field