Grid Connection of Wave Power Farm Using an N-Level Cascaded H-Bridge Multilevel Inverter