Robbery ends with officer and suspect shot