How social learning strategies boost or undermine decision making in groups