Ion acceleration from laser-driven electrostatic shocks