Amsterdam mayor Job Cohen has announced his resignation with immediate effect in order to stand for leadership of the country