Temperature profile of nanospintronic device analyzed by spin-dependent Seebeck effect