Quinn Cook signing two-year deal with Lakers