Member states will 'have two years to put the laws that were adopted today into practice,' says key EU body