Brian Cowen resigns as FF leader