Transverse instability and magnetic structures associated with electron phase space holes