Epidemic Dynamics and Immunization in Complex Networks