6 killed in fire at chemical factory in AP