Towards generation of mJ-level ultrashort THz pulses by optical rectification