Particle dark matter and solar axion searches with a small germanium detector at the Canfranc Underground Laboratory