Safety plans determine parents' and teachers' trust in schools