Foundations and Recent Trends in Multimodal Mobile Agents: A Survey