Holomorphic Morse Inequalities and Bergman Kernels