The effect of sub-optimal control and the spectral wave climate on the performance of wave energy converter arrays