SERIES P PREFERRED STOCK PURCHASE AGREEMENT