Monte Carlo simulations of Jc(T) dependences for ceramic YBaCuO and BSCCO superconductors