Analysis and control of epidemics in temporal networks with self-excitement and behavioral changes