Spin-reorientation transition in Co/Pt multilayers on nanospheres