Phase and amplitude control in the formation and detection of rotational wave packets in the E 1Σg+ state of Li2