Slovenia has become the latest county to recognise Palestine as an independent state in its national parliament, despite opposition from the hard right.