Studies on electrical characteristics and optical tuning properties of semiconductor superlattice type avalanche transit time devices operating as room temperature terahertz sources