Groups of prime power order as Frobenius-Wielandt complements