two tier architecture in dbms