Molecular dynamics simulation of real systems: application to chloro-fluoro-hydrocarbons and polymers