Chromosome and spindle pole-derived signals generate an intrinsic code for spindle position and orientation