formula writing acids