Germany ends mandatory army service