As Royal Mail faces an uncertain future, Dominic Sandbrook charts the development of the post office and examines its impact on literacy, free speech, commerce and communication