State prosecutors in South Africa have confirmed they are to appeal Oscar Pistorius' acquittal for murder and the length of his five-year jail sentence.