The role of surface tilt in the operation of pi-cell liquid crystal devices