On the performance of factor investing: an analysis based on constant mix and buy-and-hold strategies