The accretion and obscured growth of supermassive black holes