Spin needlets for cosmic microwave background polarization data analysis