Are religious people really less smart, on average, than atheists?

Various studies have found that, on average, belief in God is associated with lower scores on IQ tests.