A Novel Framework for Sequential Multi-Source Transfer Learning: from Theory to Cancer Detection