Nigeria wins Africa Cup of Nations title