Lattice dynamics and a magnetic-structural phase transition in the nickel orthoborate $Ni_{3}(BO_{3})_{2}$