A two-stage reconstruction method for complex networked system with hidden nodes