What nerve stimulates the masseter and temporalis muscles to elevate the mandible during mastication and swallowing?.