$R_0$ and the global behavior of an age-structured SIS epidemic model with periodicity and vertical transmission