Study: Medical marijuana greatly effective for treating pain, nausea