Detecting disease with a smartphone