Analysis of an SEIR epidemic model with the effects of awareness programs