Optimization of spontaneous exchange bias in Mn-rich Heusler alloys.