A South African judge has ruled that parts of the Oscar Pistorius trial, which begins on Monday, will be televised live.