Religion and social mobility in industrial society