William thanks frontline NHS staff dealing with worst week of Covid crisis