Depression of superconductivity, heavy fermion behavior and valence fluctuations in Y1−xPrxBa2Cu3O7