EU must prepare for a future with more than 30 members: German foreign minister