Layer-dependent Band Alignment and Work Function of Few-Layer Phosphorene