Spin and dipole order in geometrically frustrated mixed-valence manganite Pb3Mn7O15