Valence-band photoemission study of β-ZrNCl and the quasi-two-dimensional superconductor NaxZrNCl