Oscar Pistorius is granted bail