A level set approach for topology optimization with local stress constraints