Influence of intermolecular vibrations on the electronic coupling in organic semiconductors: A molecular dynamics and quantum-chemical study of the anthracene and perfluoropentacene molecular crystals