Hibernian moved to the top of the Scottish Premier League with a 2-1 victory over Dundee United at Easter Road.