Planning academic and research library buildings