Optical absorption and static spin correlation functions in the one-dimensional ferromagnet CsNiF3