Invest in companies that 'think twice' about hiring during a Fed-mandated slowdown, Jim Cramer says