To curb drug costs, states look north