Analysis of the infrared spectra of the peculiar post-AGB stars EP Lyrae and HD 52961