Scotland passes bill making it easier to legally change gender