Optimal estimations of directional wave conditions for nearshore field studies