Hong Kong, Shanghai shares slip