Protocol for Generating Optical Gottesman-Kitaev-Preskill States with Cavity QED.