King Charles advocated for the benefits of eating well amid cancer treatment at a Buckingham Palace garden party