Diagnosis of the ECMWF ocean-wave forecasting system