power of a periodic signal