Approximation numbers and Kolmogorov widths of Hardy‐type operators in a non‐homogeneous case