Kind-hearted granddad with terminal cancer raises more than £5,000 for healthcare team who helped him