Spirit posts quarterly loss on pandemic, 737 MAX pain