HLF to provide £8m to help build heritage organisations' resilience