Scalar and pseudoscalar meson pole terms in the hadronic light-by-light contributions to aμhad