Market cycles and their impact on investing