Countably compact and pseudocompact products