Optical absorption and spin dynamics in the 1d ferromagnet CsNiF3