Supernovae and star formation in luminous infrared galaxies