From Complexity to Clarity: How AI Enhances Perceptions of Scientists and the Public's Understanding of Science