Middle school principal accused of videotaping locker room