Millimeter and submillimeter detection using Ga1−xAlxAs/GaAs heterostructures