Trihalomethane formation potential prediction using some chemical functional groups and bulk parameters