Method of extraction of rhenium from solutions