An actomyosin contractile mechanism for erythrocyte shape transformations