Common fixed point theorems for occasionally weakly compatible mappings satisfying a generalized contractive condition