Optimizing Performance and SEO with Next.js: Tips and Best Practices