Control of mental representations in human planning