The electron-related optical responses for the square tangent quantum well: Role of applied external fields