Optimization of a wind powered desalination and pumped hydro storage system