TCS confident of maintaining margins; end year at good level