The exceptionally extended flaring activity in the X-ray afterglow of GRB 050730 observed with Swift and XMM-Newton