Direct measurement of single and ensemble average particle-surface potential energy profiles.