Adaptive coordinate real-space electronic structure calculations for atoms, molecules and solids