Katy Perry has praised Harry Styles as a "complete gentleman" after he offered to give up his seat on a plane for her.