Hydrocarbon dust absorption in Seyfert galaxies and ULIRGs