The changing distribution of wealth in the pre-crisis US and UK: the role of socio-economic factors