Oscar Pistorius takes stand in trial