Distributed Query Optimization in Loosly Coupled Multidatabase Systems