Germany defends preparation for floods