An experimental investigation of moral commitments