RIL buys majority stake in e-pharmacy Netmeds as competition in sector heats up