Study supports safety of medical cannabis for chronic pain