Gravar-mail: Automatic quality assessment of smart device microphone spirometry