Influence of solid-state effects on the K beta /K alpha intensity ratios of Ti and V in TiB2, VB2 and VN