Infectious diseases in the past do not provide strong enough immunity, studies find, confirming the need for vaccines