Terahertz spectroscopy of amorphous WSe2 and MoSe2 thin films