The UK government should be clear it wants to enter into a "structured formal relationship" with the European Union, former prime minister Tony Blair says.