Canaccord Genuity has agreed to buy Glasgow-based Intelligent Capital as it looks to grow its financial planning business.