Control of HVDC systems based on diode rectifier for offshore wind farm applications