Our infrastructure isn’t ready for extreme heat or rising floodwaters. An engineer on what needs to change.