The death toll in a shooting at a Japan army training range has risen to two, the military says, after a recruit opened fire at the facility on Wednesday.