In what ways did shared culture among national groups and industrial classes lead to social and political changes in Europe?