GMC apologises for regulatory action against doctors convicted under now repealed homophobic laws