A behavioral model for the non-linear on-resistance in sample-and-hold analog switches