German intelligence agency warns of 'foreign interference' in upcoming elections