Planck-HFI optical design and pre-flight performances