Montenegro, Ukraine, Iceland and Great Britain through to EuroBasket 2017 as top four best second placed teams