The two-loop self-energy: diagrams in the coordinate-momentum representation