Codes of central Sturmian words