Brooklyn police leave ceremony for new chief to stop robbery in progress