Smartphone microscope automates detection of parasites in blood