Archbishop of York has surgery for cancer