Pre- and post-irradiation performance of FBK 3D silicon pixel detectors for CMS