On approaching the ultimate limits of photon-efficient and bandwidth-efficient optical communication