HP CEO Mark Hurd resigns following sexual harassment charges