Safety syringe with retractable needle