What effect did the protestant reformation have on europe?