Equity rally lifts valuations as Sensex and Nifty post weekly gains; tech majors see declines