A record 1.2 million people registered for asylum in the European Union in 2015, more than double the numbers of 2014, the EU's statistics agency Eurostat says.