Detection of chaos in time series. Application to spanish sea swell