North Yorkshire Council boss writes to reassure staff following riots