Drug treatment of malaria infections can reduce levels of protection transferred to offspring via maternal immunity