On primitive integer solutions of the Diophantine equation $x^3\pm y^3=a^k\pm b^k$