Cluster observations of electrostatic solitary waves near the Earth's bow shock