Djokovic ousts Federer, books Open final with Nadal