Copulas, diagonals, and tail dependence