Dimension inequalities for unions and mappings of separable metric spaces