On integrable models from pp-wave string backgrounds