A new experiment has revealed a curious link between people's musical preferences and their moral values.