Pistorius says he shot girlfriend by mistake