Brill-Noether loci of rank-two vector bundles on a general n-gonal curve