Added db.q function for executing SQL from R