Schottky barrier formation at ErAs/GaAs interfaces: a case of Fermi level pinning by surface states