A 3-year-old boy who previously used short sentences has stopped speaking over the past six weeks. His parents also report that he no longer understands familiar instructions and has begun having brief episodes in which he is awake but does not respond to them. His motor development and neurological examination between episodes are normal. There is no fever or recent head injury. Which one of the following is the most likely diagnosis?