Radiocarbon dating of ancient rock paintings