Switchable Representation Learning Framework with Self-Compatibility