A relation between H2 v=1−0 S(1) and 3.28 micron emission in Seyfert and starburst galaxies