Electronic model for energies, relaxations and reconstruction trends at metal surfaces