The Birkhoff theorem for unitary matrices of prime-power dimension