T = 1 effective interaction in the sd shell