Man mistakenly shot by police with gun instead of Taser sues city