how long does it take for valacyclovir to work