Got an earache? S.F. startup says a smartphone’s the cure