Officer fatally shot during traffic stop, gunman found dead at nearby apartment: Cops