Distinguishing number and distinguishing index of natural and fractional powers of graphs