A man rows a boat a certain distance upstream and then returns to the same place. If the time taken by him in going upstream is twice the time taken in rowing downstream, find the ratio of the speed of the boat in still water and the speed of the stream.