Dynamical malaria models reveal how immunity buffers effect of climate variability