“In order to fulfil its role in guarding the purity of its membership, the church must have a doctrinal standard, and that standard must be published openly, for men have a right to know by what particulars they will be judged. To require the church to exercise discipline against doctrinal error without a published confession of faith is to require it to make bricks without straw.”