Jim Cramer says look for market opportunities, buy energy stocks