VLT Spectroscopy of GRB 990510 and GRB 990712: Probing the Faint and Bright Ends of the Gamma-Ray Burst Host Galaxy Population