Resources, attitudes and culture: an understanding of the factors that influence the functioning of accountability mechanisms in primary health care settings