Effective interactions for the 1p shell