Linear transformations which preserve hermitian matrices