Stress singularities for three-dimensional corners using the boundary integral equation method