A new estimator for directional properties of nearshore waves