Germany legalises medical use of cannabis