EU imposes sanctions on Iran over 'foiled attacks'