High energy density batteries derived from conductive polymers