The characteristic polynomials of abelian varieties of dimensions 3 over finite fields