An infrared study of the double nucleus in NGC 3256