Electromagnetic stress at the boundary: photon pressure or tension?