Which class of drugs is primarily responsible for reducing inflammation by inhibiting cyclooxygenase (COX) enzymes?