Groups of order p^3