Charts suggest the market has more upside through the end of the year, Jim Cramer says