The deuteron-nucleus optical potential