Association between dietary intake of flavonoid and bone mineral density in middle aged and elderly Chinese women and men