Rapid and accurate diagnosis of malaria