Peak Effect in CeRu2and YBa2Cu3O7−δ