Height distribution and orientation of colloidal dumbbells near a wall