NC Senate votes to legalize medical marijuana