Groups of order p^7