Obama’s Dallas speech pinpoints the tensions between police and the communities they serve