Photo-EPR studies on the AB3 and AB4 nickel-related defects in diamond