The world is growing old at a rapid pace. Here are ways to invest for a gray future