Two intermediate-mass transiting brown dwarfs from the TESS mission