Rebuilding Germany's flood-ravaged areas 'could take years'