A state of emergency has been declared in parts of Bosnia as severe flooding sweeps through the country