Unfortunately, you're likely to be at least a week too early for the NH and VT foliage. If there's any way to do Cape Cod and Newport first, I'd highly recommend that. Alternatively, spend your first week enjoying Maine's southern coast and mid-coast areas and then head over to NH's White Mountains.