Stability analysis and control synthesis for a class of switched neutral systems