A boundary control problem for a possibly singular phase field system with dynamic boundary conditions