Quasistatic optical response of pairs of touching spheres with arbitrary dielectric permeability