Model-Predictive Control Strategy for an Array of Wave-Energy Converters