Layer-controlled band gap and anisotropic excitons in few-layer black phosphorus