Jessica Pegula makes light work of former world number one Iga Swiatek to claim her first Bad Homburg title.