Exact solution for the quantum and private capacities of bosonic dephasing channels - Nature Photonics