how does verapamil work for migraines