Fermi resonance in condensed CF4 and CCl4