THz frequency range planar diodes based on GaAs/AlAs superlattices optimization