Cancer costs countries in the European Union 126bn euro (£107bn) a year, according to the first EU-wide analysis of the economic impact of the disease.