Theory of mind and language in different developmental contexts