US: Sean Spicer resigns as White House spokesman