Guidance for generative AI in education and research