Mozilla CEO Brendan Eich resigns amid controversy over anti-gay marriage support