Explain the difference between declarative and imperative UI paradigms in the context of mobile application performance.