Detection of anomalous microwave emission in the Perseus molecular cloud with the COSMOSOMAS experiment