Suspect killed, officer hurt during undercover drug sting