Combination of a vial and a syringe for transferring or mixing their contents