Scaling of the critical temperature with the Fermi temperature in diborides