What improvements did mill owners make to living conditions in the villages?