Professor in creationism row quits Royal Society