Refined Restricted Permutations Avoiding Subsets of Patterns of Length Three