Marc Gasol accepts two-year contract with Lakers