What religious denomination wasn't the only one allowed to hold public office in NC until 1835