German minister quits over family vacation after floods