The PPP model of alternant cyclic polyenes with modified boundary conditions