Giants Joe Panik, Sam Dyson reach agreement on 1-year deals