Off-duty Detroit officer shoots robber