Padres agree to terms with 20 players on 2012 contracts 