Analysis of the inverse problem for transient unsaturated flow