How does mefenamic acid work