Investigation of complexation of functionalized 1,3-benzoxazinone spiropyrans with metal ions