Man threatens woman with hammer during robbery