Marks and Spencer has reached its target of becoming "fully carbon neutral" five years after it launched its sustainability project, dubbed Plan A.