Blocks with defect group Q2n × C2m and SD2n × C2m