The effect of arrays of wave energy converters on the nearshore wave climate