Estonia plans to close its border with Russia for at least six months after accusing Russian security services of staging an attempted arson attack.