O-acetyltransferase activity