Namibia struck by floods, president declares state of emergency