Demographics, Stock Market Flows, and Stock Returns