Spatial logics with connectedness predicates (Logical Methods in Computer Science, 2010)