Mercedes loses both its protests after Hamilton loses title