Physical Computation: A Mechanistic Account