HDFC to raise up to Rs 500 crore via masala bonds