Optimisation of arrays of flap-type oscillating wave surge converters