Coordination and valent state of nickel ions in beryl and chrysoberyl crystals