Premature termination codons are recognized in the nucleus in a reading-frame-dependent manner