add print function for post and post_gelman objects