Hyperplane sections and derived categories