Second-order analysis of an optimal control problem in a phase field tumor growth model with singular potentials and chemotaxis