Sr3Ir2O7F2: Topochemical conversion of a relativistic Mott state into a spin-orbit driven band insulator