Man robs store, shoots at officers during pursuit