Michael Gove loses appeal against ruling ordering release of