Thermodynamical research of using solar energy for desalination of seawater