Deep-learning-assisted portable microscopy for disease diagnosis in low-resource settings