Student and staff survey data on generative artificial intelligence use for academic purposes