Pupils at North Yorkshire primary schools have been gifted hi-vis jackets to help them cross the road safely by a housing company.