Duke of York pays tribute to childhood in Moray