Evolution of Jurassic carbonate platforms in an active rift (High Atlas, Morocco).