Smooth determinantal varieties and critical loci in multiview geometry