In all civil and criminal cases the husband and wife may be witnesses for each other.