Courteney Cox's secret to great legs