A penalty method for PDE-constrained optimization in inverse problems. (16th December 2015)