The electrical properties of n-ZnO/p-SnO heterojunction diodes