Britain's 60 racecourses are to plant trees to mark racing fan the Queen’s Diamond Jubilee.