Read the rarely-seen agreement that put New York City police in charge of school safety