Magnetically driven relativistic jets and winds: Exact solutions