BHP narrowly misses expected profit, warns of slowing growth outside China