Sexual dimorphism and cultural evolution in the Late Pleistocene and Holocene of Europe