Chart shows Most Republicans and Democrats are optimistic about their party’s future, but pessimism has increased