The pragmatics of scientific explanation