A vector product formulation of special relativity and electromagnetism