Smooth curves having a large automorphism p-group in characteristic p>0