Melcher locks in pin, helps Braves by Chargers 39-31