Rare events and long-run risks