Optimal Crossover Designs for Two Treatments in the Presence of Mixed and Self-Carryover Effects