How Men Became More Religious Than Women