Emu Edit: Precise Image Editing via Recognition and Generation Tasks