Cooking oil blamed for Amherst apartment fire