Finishing of cotton fabrics by multi-layered coatings to improve their flame retardancy and water repellency