Molecular mechanisms that mediate invasion and egress of malaria parasites from red blood cells