Level lifetimes in NII and NIII: Apparatus and results