Sir Alexander Macgregor (1881-1965), Medical Officer of Health for Glasgow