Formation of Schottky barriers at interfaces between metals and molecular semiconductors of p‐ and n‐type conductances