The influence of surface phenomena on the initiation of discharges in vacuum