when did clement attlee become prime minister