The Duke and Duchess of Edinburgh received a rapturous welcome from a Nepali hillside village on the last day of their tour.