Aaron Ramsey, Wales captain and former Arsenal midfielder, has announced his retirement from professional football with immediate effect.