Housing emergency declared by South Lanarkshire Council