Officer shoots, kills carjacking suspect