Schools and their communities: tensions and trade-offs