HDFC Bank hits record high, m-cap tops Rs 4 lakh crore