Intense single attosecond pulse generation from near-critical-density plasmas irradiated by a few-cycle laser pulse