Electronic, vibrational, and electron–phonon coupling properties in SnSe2 and SnS2 under pressure