Boeing books its first profit since the pandemic on the back