Quasistatic force and torque on a spherical particle under generalized dielectrophoresis in the vicinity of walls