Celtic beat Hibernian 3-1 at Easter Road to draw level with Hearts at the top of the Scottish Premiership.