A unified framework for interpolating and approximating univariate subdivision