A direct reaction approach for the synthesis of zeolitic imidazolate frameworks: template and temperature mediated control on network topology and crystal size.