Generation of Formal Specifications for Smart Contracts from Architectural Specifications