First-principles study on magnetic tunneling junctions with semiconducting CuInSe2 and CuGaSe2 barriers