Amazon says it mistakenly pulled ads with religious content