Explicit spectral gap estimates for the linearized Boltzmann and Landau operators with hard potentials