k-spaces and products of closed images of metric spaces