Optimal Two-Period Repeated Measurements Designs