Asian markets end week with losses on Friday