CARDICA, INC. AMENDED AND RESTATED INVESTOR RIGHTS AGREEMENT August 19, 2003