A note on superspecial and maximal curves