Democratic Republic of Congo have beaten Equatorial Guinea 4-2 on penalties to claim third place at the Africa Cup of Nations.