Wrapping interactions and integrability in standard and beta-deformed N = 4 Super Yang-Mills