On the Diophantine equation (xm-1)/(x-1) = (yn-1)/(y-1)