Two Malaysian women convicted of attempting to have sex in a car are caned in front of dozens of people, according to media and a state government official, prompting an outcry from human rights activists.