Although in some respects they seem to hark back to a bygone age, in terms of their sexual politics the novels of Alexander McCall Smith could hardly be more contemporary, writes Allan Massie