Time-varying efficiency of internal capital markets