Boeing shares dive after it warns of big loss