Spain's Pastas Gallo has bought a 25% stake in Czech firm Europasta for an undisclosed sum.