Predicting speech intelligibility in rooms from the modulation transfer function, I. General room acoustics