Validation of a non-rigid registration method for motion compensation in 4D ultrasound of the liver