Gold hits record; silver at 30-year high