Non-self-embedding grammars, constant-height pushdown automata, and limited automata