Reduction of general two-loop self-energies to standard scalar integrals☆