python format bytes to hex string