molecular formula for a group of compounds