Two subsets of the set $S=\lbrace a,b,c,d,e\rbrace$ are to be chosen so that their union is $S$ and their intersection contains exactly two elements. In how many ways can this be done, assuming that the order in which the subsets are chosen does not matter?
$\textbf{(A)}\ 20\qquad\textbf{(B)}\ 40\qquad\textbf{(C)}\ 60\qquad\textbf{(D)}\ 160\qquad\textbf{(E)}\ 320$