Police, neighbors describe moments before and after officers shoot man with gun