St. Joseph man pleads guilty in bank robbery