The reinforcement mechanisms of graphene oxide in laser-directed energy deposition fabricated metal and ceramic matrix composites: a comparison study