Inflectional loci of quadric fibrations