EU customs authorities detained almost 36m items suspected of violating intellectual property rights in 2013, with clothing one of the top categories, according to new data.