Inverted finite elements for degenerate and radial elliptic problems in unbounded domains