New app could help make cannabis use safer