A unified theory of dielectrophoresis and travelling wave dielectrophoresis