Statistical discrimination when group members are aware of their stereotype: Learning from David Hume and Adam Smith