Incompatibility stress at inclined grain boundaries for cubic crystals under hydrostatic stress and uniaxial stress