Optical tomography as a PDE-constrained optimization problem