Periodic nonautonomous differential equations with noninstantaneous impulsive effects