Hibernian have signed Scott Robertson from Blackpool after the Scotland midfielder agreed a two-and-a-half year deal.