An Optimal Control Approach to Cancer Treatment under Immunological Activity