Age and mini-mental state examination score can predict poor-quality spirometry in the elderly: a cross-sectional study