Magnetic properties of YBaCuO and BiSrCaCuO crystals: a comparative study of flux creep and irreversibility