IR and visible absorption studies on KNiBr3 crystals