The zCOSMOS redshift survey: the role of environment and stellar mass in shaping the rise of the morphology-density relation from z ~ 1