Local spectral asymptotics and heat kernel bounds for Dirac and Laplace operators