Suppression of interference fringes in absorption measurements on thin films