Are LLMs Good Text Diacritizers? An Arabic and Yorùbá Case Study