Heavy rain in southwest Germany floods basements, forces train routes to temporarily close