Massive field-theory approach to surface critical behavior in three-dimensional systems