Herding in financial markets: Bridging the gap between theory and evidence