Neutron-induced reactions on AlF3 studied using the optical model