Pasta with Bacon, Rosemary, and Tomatoes