A grieving 71-year old man died after being hit a train just weeks after his wife of 40 years had died, an inquest heard.