Simple preparation of Bell and Greenberger-Horne-Zeilinger states using ultrastrong-coupling circuit QED