Elementary school teachers reach agreement with Ontario government