Recursive quantum detector tomography