Almost-primes represented by quadratic polynomials