Fast-food chain Burger King plans to buy chain Tim Hortons in an acquisition that will make it the world's third largest in the fast-food sector.