Generator-coordinate calculation of the potential overlap for the DWBA description of cluster transfer reactions