Australian Medical Association warns of cannabis risk from Greens plan