Generalized common fixed point theorems in complex valued metric spaces and applications