FIRBACK: II. Data Reduction and Calibration of the 170 micron ISO Deep Cosmological Survey