South African Oscar Pistorius has been granted bail as he awaits trial for the premeditated murder of his girlfriend Reeva Steenkamp.