A new study has shown that cannabis might not be a good way to treat mental health problems. Here's what the study found.