SpiceJet CFO resigns as losses widen