Normal forms of planar switching systems