Electronic structure of dipeptides in the gas-phase and as an adsorbed monolayer.