Ballarat trains out of action in November to complete upgrade works